{if $album}
<div  class="span3 ml0">
	<h4>{lang about} <span class="meta">{lang album}</span></h4>
	<div class="span3 round-shadow home-album ml0">
		<div class="album-header">
			<a href="{url home/albumshare?aid=$album['album_id']}"><strong>{$album['album_title']}</strong></a>
		</div>
		<ul class="image-list cell_{$album['albumtype']} puzzing">
		{loop $album['covers'] $cover}
			{if $cover['image']} 
			<li class="{$cover['class']}">
				<img src="$cover['image']"  onerror="this.src='{baseurl}assets/img/blank.png';"/>
			</li>
			{else}
			<li class="{$cover['class']}"></li>
			{/if}
		{/loop}
			<a href="{$album['link']}" class="puzzing-txt">	
				<strong>{echo sysSubStr($album['album_title'], 30,true)}</strong>
				<span class="txt">
				{echo sysSubStr($album['intro'], 300,true)}
				</span>
				<em>{date $album['create_time']}</em>
			</a>	
	    </ul>
		<div class="album-footer">
			<span class="pull-left"><a href="{url home/user?uid=$album['user_id']}" data-user-id="{$album['user_id']}" data-user-profile="1">{$album['nickname']}</a></span>
			<ul class="tools pull-right">
				<li class="comments">
					<a href="javascript:void(0);">{$album['total_share']}</a>
				</li>
				<li class="fav">
					<a href="javascript:void(0);">{$album['total_like']}</a>
				</li>
			</ul>
		</div>
	</div>
</div>
{/if}